<?php
$objectDef = new objectDef('filterdef');
foreach ($sf_context->getActionStack() as $actionS)
{
	echo '1 '. $actionS->getActionName();
}
echo $objectDef->renderDefaultForm($form,url_for('search/saveFilters'),'search','filterdef',array('roles'),false, 'filtersAdd');
?>
<div id="aff_buttons" class="buttons">
			<a href="javascript:closeSaveSearch()"><img src="/images/icons/32/resetSearch.png" title="<?php echo __('Close')?>"></img></a>
			<a href="javascript:saveFilterDef()"><img src="/images/icons/32/confirmSearch.png" title="<?php echo __('Save')?>"></img></a>
</div>

<script type="text/javascript">
</script>